home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr13
/
golisp.zip
/
UT.LSP
< prev
Wrap
Lisp/Scheme
|
1995-01-20
|
469b
|
22 lines
;Underlines picked text
;Bob Zelna
(defun GET (A B)
(cdr (assoc A B))
)
(defun C:UT (/ ss count ent)
(prompt"\nSelect text to underline: ")
(setq ss (ssget)
count -1)
(while (setq ent (ssname ss (setq count (1+ count))))
(setq ent (entget ent))
(if (equal (get 0 ent) "TEXT")
(progn
(setq text (strcat "%%u" (get 1 ent)))
(entmod (subst (cons 1 text) (assoc 1 ent) ent))
)
)
)
(prin1)
)